package org.jeecg.modules.job.ums.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.job.ums.entity.UmsChatHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 聊天记录
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
public interface UmsChatHistoryMapper extends BaseMapper<UmsChatHistory> {

    /**
     * 分页查询
     * @param page
     * @param params 参数信息
     * @return
     */
    IPage<Map<String, Object>> getChatList(IPage page, @Param("params") UmsChatHistory params);

}
